﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D43 RID: 3395
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PLJNHEIJAMO : IMessage<PLJNHEIJAMO>, IMessage, IEquatable<PLJNHEIJAMO>, IDeepCloneable<PLJNHEIJAMO>, IBufferMessage
	{
		// Token: 0x17002B19 RID: 11033
		// (get) Token: 0x06009865 RID: 39013 RVA: 0x00197734 File Offset: 0x00195934
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PLJNHEIJAMO> Parser
		{
			get
			{
				return PLJNHEIJAMO._parser;
			}
		}

		// Token: 0x17002B1A RID: 11034
		// (get) Token: 0x06009866 RID: 39014 RVA: 0x0019773B File Offset: 0x0019593B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PLJNHEIJAMOReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002B1B RID: 11035
		// (get) Token: 0x06009867 RID: 39015 RVA: 0x0019774D File Offset: 0x0019594D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PLJNHEIJAMO.Descriptor;
			}
		}

		// Token: 0x06009868 RID: 39016 RVA: 0x00197754 File Offset: 0x00195954
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PLJNHEIJAMO()
		{
		}

		// Token: 0x06009869 RID: 39017 RVA: 0x0019775C File Offset: 0x0019595C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PLJNHEIJAMO(PLJNHEIJAMO other) : this()
		{
			this.eventId_ = other.eventId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600986A RID: 39018 RVA: 0x00197781 File Offset: 0x00195981
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PLJNHEIJAMO Clone()
		{
			return new PLJNHEIJAMO(this);
		}

		// Token: 0x17002B1C RID: 11036
		// (get) Token: 0x0600986B RID: 39019 RVA: 0x00197789 File Offset: 0x00195989
		// (set) Token: 0x0600986C RID: 39020 RVA: 0x00197791 File Offset: 0x00195991
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x0600986D RID: 39021 RVA: 0x0019779A File Offset: 0x0019599A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PLJNHEIJAMO);
		}

		// Token: 0x0600986E RID: 39022 RVA: 0x001977A8 File Offset: 0x001959A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PLJNHEIJAMO other)
		{
			return other != null && (other == this || (this.EventId == other.EventId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600986F RID: 39023 RVA: 0x001977D8 File Offset: 0x001959D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009870 RID: 39024 RVA: 0x00197817 File Offset: 0x00195A17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009871 RID: 39025 RVA: 0x0019781F File Offset: 0x00195A1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009872 RID: 39026 RVA: 0x00197828 File Offset: 0x00195A28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EventId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.EventId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009873 RID: 39027 RVA: 0x0019785C File Offset: 0x00195A5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009874 RID: 39028 RVA: 0x0019789A File Offset: 0x00195A9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PLJNHEIJAMO other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009875 RID: 39029 RVA: 0x001978CB File Offset: 0x00195ACB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009876 RID: 39030 RVA: 0x001978D4 File Offset: 0x00195AD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.EventId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003AB0 RID: 15024
		private static readonly MessageParser<PLJNHEIJAMO> _parser = new MessageParser<PLJNHEIJAMO>(() => new PLJNHEIJAMO());

		// Token: 0x04003AB1 RID: 15025
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003AB2 RID: 15026
		public const int EventIdFieldNumber = 10;

		// Token: 0x04003AB3 RID: 15027
		private uint eventId_;
	}
}
